package com.atguigu.gmall.feign.user;

import com.atguigu.gmall.model.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author A
 * @version 1.0
 * @description: TODO
 * @date 2025/9/12 17:51
 */
@FeignClient("service-user")
@RequestMapping("/rpc/inner")
public interface UserFeign {
    @GetMapping("/userAddress")
    List<UserAddress> userAddress();
}
